* {
    padding: 0px;
    margin: 0px;
}

a {
    text-decoration: none;
    color: white;
}

body {
    background-color: #252935;
}

#nav {
    background-color: red;
    height: 2px;
    width: 100%;
}

#head {
    text-align: center;
}

#head ul {
    display: inline-block;
}

#head ul li {
    display: inline-block;
}

#head ul li a {
    display: inline-block;
    width: 150px;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
}

#head ul li a.selected, #head ul li a:hover {
    background-color: white;
    color: #252935;
}

#list {
    margin-top: 100px;
    background-color: white;
    text-align: center;
}

.pet {
    display: inline-block;
    margin: 20px;
    width: 380px;
}

.pet p {
    text-indent: 30px;
    margin: 10px 0px;
}

.pet a {
    display: inline-block;
    font-size: 20px;
    background-color: #eb9650;
    width: 150px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    border-radius: 5px;
}

.pet a:hover {
    background-color: #252935;
}

#foot {
    text-align: center;
}

#foot h2 {
    display: inline-block;
    margin: 10px 0px;
    color: white;
}

#foot ul {
    margin: 10px 0px;
}

#foot ul li {
    display: inline-block;
    margin: 0px 8px;
}

@media screen and (max-width: 860px) {
    #head ul li a {
        width: 100px;
        font-size: 16px;
    }

    #list {
        margin-top: 80px;
    }

    .pet {
        width: 350px;
    }

    .pet img {
        width: 350px;
    }
}

@media screen and (max-width: 550px) {
    #head ul li a {
        width: 70px;
        font-size: 13px;
    }

    #list {
        margin-top: 50px;
    }
}